package com.example.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.example.model.user.AddressInfo;

@Mapper
public interface AddressDao {

    @Select("SELECT * FROM USER_ADDRESS WHERE USER_ID = #{userId}")
    List<AddressInfo> queryByUserId(String userId);

}
